package org.ragdollcat.first.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 图片抓取记录表
 * @TableName picture_fetch_record
 */
@TableName(value ="picture_fetch_record")
@Data
public class PictureFetchRecord implements Serializable {
    private static final long serialVersionUID = 6156297129888570583L;
    /**
     * 主键Id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 搜索关键词
     */
    private String keyWord;

    /**
     * 当前搜索偏移量
     */
    private Integer currentOffset;

    /**
     * 操作人id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
}